import { generateOptions } from '@/tools/data';

export const CARE_SERVICE_TAG_OPTIONS = [
	{
		value: '0',
		label: '健康',
	},
	{
		value: '1',
		label: '饮食',
	},
	{
		value: '2',
		label: '清洁',
	},
	{
		value: '3',
		label: ' 安全',
	},
	{
		value: '4',
		label: '理疗',
	},
];

export const CARE_SERVICE_WAY_OPTIONS = [
	{
		value: '0',
		label: '协助',
	},
	{
		value: '1',
		label: '提醒',
	},
	{
		value: '2',
		label: '陪同',
	},
	{
		value: '3',
		label: '鼓励',
	},
	{
		value: '4',
		label: '帮助',
	},
	{
		value: '5',
		label: '督促',
	},
	{
		value: '6',
		label: '自理',
	},
	{
		value: '7',
		label: '全护',
	},
];

export enum FREQUENCY {
	day = 'day',
	week = 'week',
	month = 'month',
	other = 'other',
}

// 频次
export const CARE_SERVICE_TIME_OPTIONS = [
	{
		value: FREQUENCY.day,
		label: '每天',
	},
	{
		value: FREQUENCY.week,
		label: '每周',
	},
	{
		value: FREQUENCY.month,
		label: '每月',
	},
	{
		value: FREQUENCY.other,
		label: '其他',
	},
];

// 周视图
export const CARE_SERVICE_WEEK_OPTIONS = [
	{
		value: 'sun',
		label: '周日',
	},
	{
		value: 'mon',
		label: '周一',
	},
	{
		value: 'tue',
		label: '周二',
	},
	{
		value: 'wed',
		label: '周三',
	},
	{
		value: 'thu',
		label: '周四',
	},
	{
		value: 'fri',
		label: '周五',
	},
	{
		value: 'sat',
		label: '周六',
	},
];

// 周视图
export const CARE_SERVICE_MONTH_OPTIONS = generateOptions(31);

const nonSelectOptions = [{
	label: '不选',
	value: 'none',
}];

// 月视图
export const EVERY_MONTH_OPTIONS = nonSelectOptions.concat(generateOptions(12));

// 每几周
export const EVERY_WEEK_OPTIONS = nonSelectOptions.concat(generateOptions(4));
